package com.dingding.common.core.beans;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 
 * @ClassName: Userordert
 * @Description: 订单临时表
 * @author zhaochenguang
 * @date 2015-10-10 下午01:59:27
 * @version 叮叮搭车V2.0
 */
@SuppressWarnings("serial")
public class Userordert implements Serializable {

	private String oid;// 主键ID
	private String placeOrderUserId;// 下单用户ID
	private String payCity;// 下单城市
	private Date setOutTime;// 出发时间
	private String startAddress;// 出发地址
	private Double startLongitude;// 起点经度
	private Double startLatitude;// 起点纬度
	private String endAddress;// 目的地
	private Double endLongitude;// 目的地经度
	private Double endLatitude;// 目的地纬度
	private BigDecimal distance;// 距离
	private BigDecimal payMoney;// 叮币支付金额
	private BigDecimal alipayMoney;// 支付宝支付金额
	private BigDecimal totalMoney;// 实际支付总金额
	private BigDecimal couponMoney;// 优惠金额
	private Integer number;// 人数
	private Integer redBag;// 红包
	private String message;// 留言
	private BigDecimal payDistance;// 距对方距离
	private String marker;// 标志建筑物
	private String grabOrderUserId;// 抢单用户ID
	private Date grabOrderTime;// 抢单时间
	private Integer orderStatus;// 订单状态
	private Date createTime;// 下单时间
	private Date payTime;// 订单支付时间
	private Date endTime;// 乘客确认到达时间
	private Date cancelTime;// 取消订单时间
	private Integer orderType;// 下单类型
	private Integer payType;// 支付类型(1: 支付宝支付 2:微信支付)
	private Integer cancelType;// 取消类 型
	private Integer cancelNumber;//取消编号
	private String cancelDesc;// 订单取消原因
	private Integer isLongDistance;// 1:普通 2:长途
	private String ucId;// 我的优惠券Id
	private BigDecimal driverRcvIntegral = new BigDecimal(0);// 车主获赠积分
	private BigDecimal psgRcvIntegral = new BigDecimal(0);// 乘客获赠积分
	private Integer isComment = 1;// 是否评价过
	private String cancelUserId;// 取消订单用户ID
	private Integer isCarShare;// 是否合乘
	private Integer setOutCondition;// 出发条件 1：准点出发 2：出发前后15分钟
	private Integer freeSeat;// 当前闲置座位数
	private Integer isChildren;// 父子订单：1:父订单 2:子订单
	private String parOrderId;// 合乘订单Id
	private String parentOrder;//父订单Id
	private Date lastDate;// 时间戳(用于锁定要修改的数据)
	
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public String getPlaceOrderUserId() {
		return placeOrderUserId;
	}
	public void setPlaceOrderUserId(String placeOrderUserId) {
		this.placeOrderUserId = placeOrderUserId;
	}
	public String getPayCity() {
		return payCity;
	}
	public void setPayCity(String payCity) {
		this.payCity = payCity;
	}
	public Date getSetOutTime() {
		return setOutTime;
	}
	public void setSetOutTime(Date setOutTime) {
		this.setOutTime = setOutTime;
	}
	public String getStartAddress() {
		return startAddress;
	}
	public void setStartAddress(String startAddress) {
		this.startAddress = startAddress;
	}
	public Double getStartLongitude() {
		return startLongitude;
	}
	public void setStartLongitude(Double startLongitude) {
		this.startLongitude = startLongitude;
	}
	public Double getStartLatitude() {
		return startLatitude;
	}
	public void setStartLatitude(Double startLatitude) {
		this.startLatitude = startLatitude;
	}
	public String getEndAddress() {
		return endAddress;
	}
	public void setEndAddress(String endAddress) {
		this.endAddress = endAddress;
	}
	public Double getEndLongitude() {
		return endLongitude;
	}
	public void setEndLongitude(Double endLongitude) {
		this.endLongitude = endLongitude;
	}
	public Double getEndLatitude() {
		return endLatitude;
	}
	public void setEndLatitude(Double endLatitude) {
		this.endLatitude = endLatitude;
	}
	public BigDecimal getDistance() {
		return distance;
	}
	public void setDistance(BigDecimal distance) {
		this.distance = distance;
	}
	public BigDecimal getPayMoney() {
		return payMoney;
	}
	public void setPayMoney(BigDecimal payMoney) {
		this.payMoney = payMoney;
	}
	public BigDecimal getAlipayMoney() {
		return alipayMoney;
	}
	public void setAlipayMoney(BigDecimal alipayMoney) {
		this.alipayMoney = alipayMoney;
	}
	public BigDecimal getTotalMoney() {
		return totalMoney;
	}
	public void setTotalMoney(BigDecimal totalMoney) {
		this.totalMoney = totalMoney;
	}
	public BigDecimal getCouponMoney() {
		return couponMoney;
	}
	public void setCouponMoney(BigDecimal couponMoney) {
		this.couponMoney = couponMoney;
	}
	public Integer getNumber() {
		return number;
	}
	public void setNumber(Integer number) {
		this.number = number;
	}
	public Integer getRedBag() {
		return redBag;
	}
	public void setRedBag(Integer redBag) {
		this.redBag = redBag;
	}
	public String getMessage() {
		return message;
	}
	public void setMessage(String message) {
		this.message = message;
	}
	public BigDecimal getPayDistance() {
		return payDistance;
	}
	public void setPayDistance(BigDecimal payDistance) {
		this.payDistance = payDistance;
	}
	public String getMarker() {
		return marker;
	}
	public void setMarker(String marker) {
		this.marker = marker;
	}
	public String getGrabOrderUserId() {
		return grabOrderUserId;
	}
	public void setGrabOrderUserId(String grabOrderUserId) {
		this.grabOrderUserId = grabOrderUserId;
	}
	public Date getGrabOrderTime() {
		return grabOrderTime;
	}
	public void setGrabOrderTime(Date grabOrderTime) {
		this.grabOrderTime = grabOrderTime;
	}
	public Integer getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(Integer orderStatus) {
		this.orderStatus = orderStatus;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getPayTime() {
		return payTime;
	}
	public void setPayTime(Date payTime) {
		this.payTime = payTime;
	}
	public Date getEndTime() {
		return endTime;
	}
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}
	public Date getCancelTime() {
		return cancelTime;
	}
	public void setCancelTime(Date cancelTime) {
		this.cancelTime = cancelTime;
	}
	public Integer getOrderType() {
		return orderType;
	}
	public void setOrderType(Integer orderType) {
		this.orderType = orderType;
	}
	public Integer getPayType() {
		return payType;
	}
	public void setPayType(Integer payType) {
		this.payType = payType;
	}
	public Integer getCancelType() {
		return cancelType;
	}
	public void setCancelType(Integer cancelType) {
		this.cancelType = cancelType;
	}
	public Integer getCancelNumber() {
		return cancelNumber;
	}
	public void setCancelNumber(Integer cancelNumber) {
		this.cancelNumber = cancelNumber;
	}
	public String getCancelDesc() {
		return cancelDesc;
	}
	public void setCancelDesc(String cancelDesc) {
		this.cancelDesc = cancelDesc;
	}
	public Integer getIsLongDistance() {
		return isLongDistance;
	}
	public void setIsLongDistance(Integer isLongDistance) {
		this.isLongDistance = isLongDistance;
	}
	public String getUcId() {
		return ucId;
	}
	public void setUcId(String ucId) {
		this.ucId = ucId;
	}
	public BigDecimal getDriverRcvIntegral() {
		return driverRcvIntegral;
	}
	public void setDriverRcvIntegral(BigDecimal driverRcvIntegral) {
		this.driverRcvIntegral = driverRcvIntegral;
	}
	public BigDecimal getPsgRcvIntegral() {
		return psgRcvIntegral;
	}
	public void setPsgRcvIntegral(BigDecimal psgRcvIntegral) {
		this.psgRcvIntegral = psgRcvIntegral;
	}
	public Integer getIsComment() {
		return isComment;
	}
	public void setIsComment(Integer isComment) {
		this.isComment = isComment;
	}
	public String getCancelUserId() {
		return cancelUserId;
	}
	public void setCancelUserId(String cancelUserId) {
		this.cancelUserId = cancelUserId;
	}
	public Integer getIsCarShare() {
		return isCarShare;
	}
	public void setIsCarShare(Integer isCarShare) {
		this.isCarShare = isCarShare;
	}
	public Integer getSetOutCondition() {
		return setOutCondition;
	}
	public void setSetOutCondition(Integer setOutCondition) {
		this.setOutCondition = setOutCondition;
	}
	public Integer getFreeSeat() {
		return freeSeat;
	}
	public void setFreeSeat(Integer freeSeat) {
		this.freeSeat = freeSeat;
	}
	public Integer getIsChildren() {
		return isChildren;
	}
	public void setIsChildren(Integer isChildren) {
		this.isChildren = isChildren;
	}
	public String getParOrderId() {
		return parOrderId;
	}
	public void setParOrderId(String parOrderId) {
		this.parOrderId = parOrderId;
	}
	public String getParentOrder() {
		return parentOrder;
	}
	public void setParentOrder(String parentOrder) {
		this.parentOrder = parentOrder;
	}
	public Date getLastDate() {
		return lastDate;
	}
	public void setLastDate(Date lastDate) {
		this.lastDate = lastDate;
	}
	
}
